Facebook\Tests\FacebookTest S

Total Complexity 32
Dependencies 10
Dependents 0
Total lines 383
Lines of code 289
Logical lines of code 110
Comment lines 27
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
testUrandomCsprgCanBeForced()
S
55 3 21
testRandomBytesCsprgCanBeForced()
S
59 2 16
testOpenSslCsprgCanBeForced()
S
58 2 16
testMcryptCsprgCanBeForced()
S
58 2 16
testPaginationReturnsProperResponse()
S
50 1 30
testSettingAnInvalidUrlHandlerThrows()
S
63 3 10
testCurlHttpClientHandlerCanBeForced()
S
61 2 13
testCanInjectCustomHandlers()
S
54 1 25
testCreatingANewBatchRequestWillDefaultToTheProperConfig()
S
55 1 19
testCreatingANewRequestWillDefaultToTheProperConfig()
S
57 1 17
testCanGetSuccessfulTransferWithMaxTries()
S
62 1 11
testInstantiatingWithoutAppIdThrows()
S
69 1 7
testSettingAnAccessThatIsNotStringOrAccessTokenThrows()
S
71 1 6
testSettingAnInvalidPseudoRandomStringGeneratorThrows()
S
71 1 6
testInstantiatingWithoutAppSecretThrows()
S
69 1 7
testAnAccessTokenCanBeSetAsAnAccessTokenEntity()
S
68 1 7
testAnAccessTokenCanBeSetAsAString()
S
68 1 7
testTheUrlHandlerWillDefaultToTheFacebookImplementation()
S
75 1 4
testPersistentDataHandlerCanBeForced()
S
65 1 10
testSettingAnInvalidPersistentDataHandlerThrows()
S
71 1 6
testGuzzleHttpClientHandlerCanBeForced()
S
65 1 10
testStreamHttpClientHandlerCanBeForced()
S
65 1 10
testSettingAnInvalidHttpClientHandlerThrows()
S
71 1 6
testMaxingOutRetriesWillThrow()
S
64 1 9